let app = new Vue({
    el:'#analyze_list',
    data:{
        motif:[],
        adminid:''
    }
});
$('body').on('click','.analyze',function () {
    console.log('==');
});
$('body').on('click','.delete',function () {
    console.log('==222');
});
$(document).ready(function () {
    $.ajax({
        url:'/index.php?s=api/analyze/analyze_list',
        type:'POST',
        data: {},
        success:function (value) {
            app.motif = value.data.motif;
            app.adminid = value.data;
            console.log(value);
            console.log(value.data.motif);
        }
    });
});
$('body').on('click','.edit',function(){
    $.ajax({
        url: '/index.php?s=api/edit/edit_list',
        type:'POST',
        data:{
        },
        success:function(value){
            window.location.href = '/index.php?s=index/login/login_list';
        }
    });
});